package com.polytech.diploma.StatAccumulator.Comparator;

import java.util.Comparator;

import com.polytech.diploma.OracleStat.SQLStatData;

public class RowsProcessedComparator 
					extends StatComparator
					implements Comparator<SQLStatData> 
{
	@Override
	public int compare(SQLStatData statData1, SQLStatData statData2) {
		return compareWithConfidenceRange(statData1.getRowsProcessed(),
				statData2.getRowsProcessed(),
				statData1.getUpdateFrequency(),
				statData2.getUpdateFrequency());
	}
	
}
